package com.imooc.service;

import com.imooc.entity.Member;
import com.imooc.entity.MemberReadState;

public interface MemberService {
    public Member selectById(Long memberId);

    public Member createMember(String username, String password, String nickname);

    public Member checkLogin(String username, String password);

    public MemberReadState selectMemberReadState(Long memberId, Long bookId);

    public MemberReadState updateMemberReadState(Long memberId, Long bookId, Integer state);
}
